/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Buffer;

/**
 *
 * @author Toshiba
 */
public class Flight
{
    private String Code;
    private String CallSign;
    private String Country;
    private float Altitude;
    private float GroundSpeed;
    private float Trackangle;
    private float Verticalrate;
    private float Latitude;
    private float Longitude;
    private String TimeOfDay;
    private long LastUpdate;
    

    public Flight(String code, String callSign, String country, float altitude, float groundspeed, float trackangle, float verticalrate, float latitude, float longitude, String timeOfDay, long lastUpdate)
    {
        this.Code = code;
        this.CallSign = callSign;
        this.Country = country;
        this.Altitude = altitude;
        this.GroundSpeed = groundspeed;
        this.Trackangle = trackangle;
        this.Verticalrate = verticalrate;
        this.Latitude = latitude;
        this.Longitude = longitude;
        this.TimeOfDay = timeOfDay;
        this.LastUpdate = lastUpdate;
    }

    public float getLatitude()
    {
      return this.Latitude;
    }

    public float getLongitude()
    {
      return this.Longitude;
    }

    public String getCallSign()
    {
      return this.CallSign;
    }

    public long getLastUpdate()
    {
        return this.LastUpdate;
    }
}
